from dataclasses import dataclass

from src.core.models.dto import UserDTO


@dataclass
class Token:
    access_token: str
    token_type: str


@dataclass
class UserWithToken:
    user: UserDTO
    token: Token
